<{include file="header.htm"}>

<script src="<{$tpl_img}>images/common.js" type="text/javascript"></script>
<script src="<{$tpl_img}>images/calendar2.js" type="text/javascript"></script>


	<div class="container">
		<h3 class="marginbot">权限信息修改
		</h3>
		
		<div class="mainbox">
			<form action="<{spUrl c=right a=edit rightid=$rightinfo.rightid}>" method="post">
				<table class="opt">
					<tr>
						<th>权限代码:</th>
					</tr>
					<tr>
						<td>
							<input type="text" name="rightsnum" value="<{$rightinfo.rightsnum}>" class="txt" />
						</td>
					</tr>
                    <tr>
						<th>权限描述:</th>
					</tr>
					<tr>
						<td>
							<input type="text" name="description" value="<{$rightinfo.description}>" class="txt" />
						</td>
					</tr>
					<tr>
						<th>限制群组:</th>
					</tr>
					<tr>
						<td>
							<select id="groupid" name="groupid"><{html_options options=$group_options selected=$rightinfo.groupid}>
</select>
						</td>
					</tr>
					<tr>
						<th>限制类型:</th>
					</tr>
                    <tr>
						<td>
							<select id="allow" name="allow">
                             <option value="0">禁止</option>
						 	 <option value="1" <{if $rightinfo.allow == "1"}>selected<{/if}>>允许</option>
							</select>
						</td>
					</tr>
					<tr>
						<th>限制起始时间:</th>
					</tr>
					<tr>
						<td>
							<input type="text" name="begin" onclick="showcalendar();" value="<{$timebegin}>" class="txt" />
						</td>
					</tr>
                    <tr>
						<th>限制结束时间:</th>
					</tr>
					<tr>
						<td>
							<input type="text" name="end" onclick="showcalendar();" value="<{$timeend}>" class="txt" />
						</td>
					</tr>
				</table>
				<div class="opt"><input type="submit" name="submit" value="提交修改" class="btn" tabindex="3" /></div>
			</form>
		</div>
	</div>